// middleware/pathname.ts
import { NextRequest, NextResponse } from 'next/server'

export async function handlePathname(request: NextRequest, response: NextResponse) {
  response.headers.set('x-pathname', request.nextUrl.pathname)
  return response
}
